package com.lagou.factory;

public class simpleFactoryTest {

    public static void main(String[] args) {
        Computer computer = ComputerFactory.createComputer("hp");
        computer.start();
        Computer computer1 = ComputerFactory.createComputer("lenovo");
        computer1.start();

    }
}
